[python] Using Sorted Array To Cross Check Runtime O Nlog N

[python] Using Sorted Array To Cross Check Runtime O Nlog N